package io;

import java.io.FileInputStream;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class ioTest {
    public static void main(String[] args) throws IOException {
/*
        char c ='a';char c = 97;
        小写字母a 就是97
        本意:
        整数97的2进制与ASCI编码中的a'的2进制是一样的---01100001
 */
            FileOutputStream fos = new FileOutputStream("fos.txt");

        for (int i = 0; i < 26; i++) {
            fos.write(97+i);
        }
        System.out.println("写出完毕");

            fos.close();


    }
}
